home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre1.z / postgre1 / demo / script-15 < prev    next >
Encoding:
Text File  |  1992-08-27  |  145 b   |  6 lines

  1. define rule example_1 is
  2. on replace to emp.salary where current.name = "sharon"
  3. do replace emp (salary = new.salary) where emp.name = "bill"
  4.  
  5. \g
  6.